package com.aisino.nmg.system.generator.model;

import java.io.Serializable;

public class TableConfig implements Serializable {
    /**
     * @Fields id null
     */
    private Long id;

    /**
     * @Fields tableName 表名
     */
    private String tableName;

    /**
     * @Fields domainObjectName 实体名
     */
    private String domainObjectName;

    /**
     * @Fields remarks 备注
     */
    private String remarks;

    /**
     * @Fields appConfigId 应用配置ID
     */
    private Long appConfigId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table GENERATOR_TABLE_CONFIG
     */
    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName == null ? null : tableName.trim();
    }

    public String getDomainObjectName() {
        return domainObjectName;
    }

    public void setDomainObjectName(String domainObjectName) {
        this.domainObjectName = domainObjectName == null ? null : domainObjectName.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Long getAppConfigId() {
        return appConfigId;
    }

    public void setAppConfigId(Long appConfigId) {
        this.appConfigId = appConfigId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", tableName=").append(tableName);
        sb.append(", domainObjectName=").append(domainObjectName);
        sb.append(", remarks=").append(remarks);
        sb.append(", appConfigId=").append(appConfigId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}